From 89a14a4bb03e53760508ebef3821f39a0e773825 Mon Sep 17 00:00:00 2001 From: Daniel van Vugt Date: Thu, 23 Jul 2026 18:03:43 +0800 Subject: [PATCH] magnifier: Call _updateCloneGeometry() for MagnifierMouseTrackingMode.NONE The NONE mode is hidden from gnome-control-center, but if you force it then it should also update the cursor and crosshairs when the pointer moves. Suggested by: Matthew Hiltner Part-of: (cherry picked from commit 7cc0a83aaecedb7f6e5c9932a198c8d6999b8a5b) --- js/ui/magnifier.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/ui/magnifier.js b/js/ui/magnifier.js index 4536436c1..c6e3d49fc 100644 --- a/js/ui/magnifier.js +++ b/js/ui/magnifier.js @@ -1315,10 +1315,12 @@ class ZoomRegion { */ scrollToMousePos() { this._followingCursor = true; - if (this._mouseTrackingMode !== GDesktopEnums.MagnifierMouseTrackingMode.NONE) + if (this._mouseTrackingMode !== GDesktopEnums.MagnifierMouseTrackingMode.NONE) { this._changeROI({redoCursorTracking: true}); - else + } else { + this._updateCloneGeometry(); this._updateMousePosition(); + } this._clearScrollContentsTimer(); this._scrollContentsTimerId = GLib.timeout_add_once(GLib.PRIORITY_DEFAULT, POINTER_REST_TIME, () => { -- 2.39.5